#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stdbool.h>
typedef int Heaptype;
typedef struct Heap {
	Heaptype* a;
	int size;
	int capacity;
}Hp;
void HeapInit(Hp* php);
void HeapDestory(Hp* php);
void HeapPush(Hp* php, Heaptype x);
void HeapPop(Hp* php);
Heaptype HeapTop(Hp* php);
int HeapSize(Hp* php);
bool HeapEmpty(Hp* php);